FROM centos

RUN yum -y install php php-process php-devel net-tools gcc make
RUN curl -Ss http://www.workerman.net/check.php | php

COPY Applications /root/wscenter/Applications
COPY vendor /root/wscenter/vendor
COPY start.php /root/wscenter/start.php
COPY redis-4.2.0.tgz /root/wscenter/redis-4.2.0.tgz
COPY ssl /root/wscenter/ssl
COPY setup.sh /root/setup.sh

CMD ["sh", "/root/setup.sh"]
